package org.wang.gift.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import org.apache.ibatis.annotations.Param;
import org.wang.gift.domain.Tenant;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.wang.gift.query.TenantQuery;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wangsang
 * @since 2022-10-09
 */
public interface TenantMapper extends BaseMapper<Tenant> {
    List<Tenant> selectPageList(Page<Tenant> page, TenantQuery query);


    void insertMealAndTenant(@Param("tenantId") Long tenantId,@Param("mealId") Long mealId);
}
